package top.revery.task.dto;

import org.springframework.data.jpa.repository.JpaRepository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import top.revery.api.entity.user.BaseUserKol;

/**
 * @author denghao
 * @title
 * @package
 * @date 2019/12/13 9:25
 */
public interface KolDto extends JpaRepository<BaseUserKol,Long>,JpaSpecificationExecutor<BaseUserKol> {

    BaseUserKol findByTelephone(String telephone);

    BaseUserKol findByEmail(String email);
}
